package com.hzhc.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.hzhc.dto.BaseDto;
import com.hzhc.entity.CntrImgFile;
import com.hzhc.entity.VehicleReservation;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;
import java.util.Map;

/**
 * <p>
 * 车辆预约
 * </p>
 *
 * @author 功不唐捐
 * @since 2024-05-27
 */
@Data
public class VehicleReservationVo extends BaseDto implements Serializable {

    private Long id;

    /**
     * 委托号
     */
    private String orderNo;

    /**
     * 预约类型(重进:ZJ 提空重进:TKZJ 提重:TZ)
     */
    private String reservationType;

    private String reservationTypeName;

    /**
     * 箱号
     */
    @Excel(name = "箱1")
    private String cntrNo;

    /**
     * 箱尺寸
     */
    private String cntrSize;

    /**
     * 车牌号
     */
    @Excel(name = "车牌号")
    private String carNo;

    /**
     * 手机号
     */
    @Excel(name = "手机号")
    private String telephone;

    /**
     * 发布状态 0未进站，1已进站
     */
    private Integer status;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 创建人id
     */
    private Long userId;

    /**
     * 创建人会员id
     */
    private Long memberId;

    /**
     * 创建人
     */
    private String userName;

    /**
     * 修改人id
     */
    private Long updateUserId;

    /**
     * 修改人会员id
     */
    private Long updateMemberId;

    /**
     * 更新时间
     */
    private LocalDateTime updateTime;

    /**
     * 修改人
     */
    private String updateUserName;

    private Integer disable;

    /**
     * 箱号2
     */
    @Excel(name = "箱2")
    private String cntrNoB;

    /**
     * 箱尺寸2
     */
    private String cntrSizeB;

    /**
     * 箱Aid
     */
    private Long cntrIdA;

    /**
     * 箱Bid
     */
    private Long cntrIdB;

    private List<String> photos;

    private List<String> photosB;
    private List<CntrImgFile> dataFile;

    private Map<String,List<String>> fileMap;

    private Integer cntrNum;

    /**
     * 结束状态 0未结束 1已结束
     */
    private Integer endState;

    private String orderType;

    /**
     * 当前公司(委托人）
     */
    private Long companyId;

    private String area;//堆存区域

    private Integer driver;//司机id

    @Excel(name = "司机")
    private String driverName;//司机name

    private Integer submitType;//提交状态  默认0未提交  1已提交  2已完成

    private Integer flow;//提重流向

    @Excel(name="流向(提重必填)")
    private String flowName;//流向name

    /**
     * 箱A理货状态 0未理货 10已理货
     */
    private Integer tallyFlag;

    /**
     * 箱B理货状态 0未理货 10已理货
     */
    private Integer tallyFlagB;

    @Excel(name = "预约客户")
    private String companyName;//公司名称

    private String orderTypeName;
    private Long orderId;

    /**
     * 贝位A
     */
    private String bayA;

    /**
     * 贝位B
     */
    private String bayB;

    private String hwnameA;
    private String hwnameB;

    private String text;//app查询字段

    private String efFlagA;
    private String efFlagB;
    private Long declareId;

    public Integer dzgTypeB;//箱B 标记待整改状态  0默认否   1是

    public Integer dzgTypeA;//箱A 标记待整改状态   0默认否   1是
    private String lhWeight;
    private String lhWeightB;


    /**
     * 提收状态 0提 1回
     */
    private Integer tsStatus;

    /**
     * 预约id
     */
    private Long vehicleId;
    //铁路箱型
    private String tbCntr1;
    private String zyCntr1;
    private String tbCntr2;
    private String zyCntr2;
    //箱型描述
    private String selfUserTypeA;
    private String selfUserTypeB;


    private List<VehicleReservation> yuyueList;//车辆预约
    private String errorInfo;

    /**
     * 退箱标志 0未退箱 1已退箱
     */
    private Integer backStatus;


}
